package com.freecloud.bitorrent.demo.bo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author: maomao
 * @Date: 2022/7/15 4:29 PM
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class GetPeersResponse extends Arguments {

    private String token;

    private List<String> nodes;

    public GetPeersResponse(String id, String token) {
        super(id);
        this.token = token;
    }
}
